package com.liyunc.demo.bundle.file.manager.dao.repository;

import com.liyunc.demo.bundle.file.manager.model.entity.AssetPackage;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @author liyuncong
 * @version 1.0
 * @file AssetPackageEntityRepository
 * @brief AssetPackageEntityRepository
 * @details AssetPackageEntityRepository
 * @date 2022-04-15
 *
 * Edit History
 * ----------------------------------------------------------------------------
 * DATE                        NAME               DESCRIPTION
 * 2022-04-15                  liyuncong          Created
 */
@Repository
public interface AssetPackageEntityRepository extends JpaRepository<AssetPackage, Long> {

    AssetPackage findFirstByRequestHashOrderByUpdatedAtDesc(String requestHash);
}
